package com.lzc.tlmail.tlmailorder.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 线程池配置类
 * @author lzc
 * @create 2020-10-11 13:25
 */
@ConfigurationProperties(prefix = "tlmall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
    private Integer coreSize;//核心大小
    private Integer maxSize;//最大大小
    private Integer keepAliveTime;//休眠时间
}
